I/O-Efficient Well-Separated Pair Decomposition and its Applications
نویسندگان
چکیده
We present an external memory algorithm to compute a well-separated pair decomposition (WSPD) of a given point set P in d in O sort N I/Os using O N B blocks of external memory, where N is the number of points in P, and sort N denotes the I/O complexity of sorting N items. (Throughout this paper we assume that the dimension d is fixed). We also show how to dynamically maintain the WSPD in O logB N I/O’s per insert or delete operation using O N B blocks of external memory. As applications of the WSPD, we show how to compute a linear size t-spanner for P within the same I/O and space bounds and how to solve the K-nearest neighbor and K-closest pair problems in O sort KN and O sort N K I/Os using O KN B and O N K B blocks of external memory, respectively. Using the dynamic WSPD, we show how to dynamically maintain the closest pair of P in O logB N I/O’s per insert or delete operation using O N B blocks of external memory.
منابع مشابه
I/O-Efficient Well-Separated Pair Decomposition
We present an external-memory algorithm to compute a well-separated pair decomposition (WSPD) of a given point set S in Rd in O(sort(N)) I/Os, where N is the number of points in S and sort(N) denotes the I/O-complexity of sorting N items. (Throughout this paper, we assume that the dimension d is fixed). As applications of the WSPD, we show how to compute a linear-size t-spanner for S within the...
متن کاملOptimal Parallel All-Nearest-Neighbors Using the Well-Separated Pair Decomposition (Preliminary Version)
We present an optimal parallel algorithm to construct the well-separated pair decomposition of a point set P in < d. We show how this leads to a deterministic optimal O(logn) time parallel algorithm for nding the k-nearest-neighbors of each point in P, where k is a constant. We discuss several additional applications of the well-separated pair decomposition for which we can derive faster parall...
متن کاملOptimal Parallel All-Nearest-Neighbors Using the Well-Separated Pair Decomposition
W e present an optimal parallel algorithm t o construct the well-separated pair decomposition of a point set P in Zd. W e show how this leads to a deterministic opt imal O(1ogn) t ime parallel algorithm for finding the k nearest neighbors of each point in P, where k is a constant. W e discuss several additional applications of the well-separated pair decomposition for which we can derive fas t ...
متن کاملINDEX TERMS: none.
Well-separated pair decomposition, introduced by Callahan and Kosaraju [3], has found numerous applications in solving proximity problems for points in the Euclidean space. A pair of point sets (A, B) is c-well-separated if the distance between A,B is at least c times the diameters of both A and B. A well-separated pair decomposition of a point set consists of a set of well-separated pairs that...
متن کاملPruning spanners and constructing well-separated pair decompositions in the presence of memory hierarchies
Given a geometric graph G = (S,E) in R with constant dilation t, and a positive constant ε, we show how to construct a (1 + ε)-spanner of G with O(|S|) edges using O(sort(|E|)) memory transfers in the cacheoblivious model of computation. The main building block of our algorithm, and of independent interest in itself, is a new cache-oblivious algorithm for constructing a well-separated pair deco...
متن کامل